function decodeBase64Content(base64Content) {
  let commonContent = base64Content.replace(/\s/g, "+");
  commonContent = Buffer.from(commonContent, "base64").toString();
  return commonContent;
}

/**
 * ES6: base64编码
 */
function encodeBase64Content(commonContent) {
  let base64Content = Buffer.from(commonContent).toString("base64");
  return base64Content;
}
export {decodeBase64Content, encodeBase64Content};
